import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

//

import students from "./modules/students"

export default new Vuex.Store({
  state: {
    student: [],
    // count: 0,
  },
  //变化方法 用来设置state的方法，类似于组件中的methods
  mutations: {
  
  },
  actions: {},
  modules: {
    students
  }
})